import uviewPlus from "uview-plus";
import { createSSRApp } from "vue";
import App from "./App.vue";
import { initRequest } from "@/utils/request";
import "virtual:uno.css";
import common from "@/utils/common";
// import "@/utils/mountUtil";
// 权限校验
// import "./permission";
initRequest();
export function createApp() {
  const app = createSSRApp(App);
  app.config.globalProperties.$sc = common;
  uni.$sc = common;
  app.use(uviewPlus);
  return {
    app,
  };
}
